#include "stdafx.h"
#include <irrlicht.h>
#include "Graphic/Device.h"

using namespace irr;

using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

int main()
{

	
	
	IrrlichtDevice *device = CDevice::Instance()->GetIrrlichtDevice();

	if (!device)
		return 1;


	device->setWindowCaption(L"Demo");

	
	while(device->run())
	{		
		CDevice::Instance()->BeginScene();

		CDevice::Instance()->GetSceneManager()->drawAll();		

		CDevice::Instance()->EndScene();
	}

	device->drop();

	return 0;
}

/*
That's it. Compile and run.
**/
